﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 企业通知
    /// </summary>
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false, IsMemberMap = false)]
    [fastCSharp.code.cSharp.webView.clientType(Name = "diantou.enterpriseNotice")]
    [fastCSharp.code.cSharp.sqlModel]
    public partial class enterpriseNotice : noticeBase
    {
        /// <summary>
        /// 考试标识
        /// </summary>
        public int ExamId;
        /// <summary>
        /// 通知类型
        /// </summary>
        public enum type : byte
        {
            /// <summary>
            /// 自定义通知
            /// </summary>
            [notice.noticeInfo]
            Sys = 0,
            /// <summary>
            /// 考试结束
            /// </summary>
            [notice.noticeInfo(IsValue = isValue.Exam)]
            ExamFinally = 1,
            /// <summary>
            /// 管理员充值
            /// </summary>
            [notice.noticeInfo]
            Recharge = 2,
        }
        /// <summary>
        /// 通知类型
        /// </summary>
        [fastCSharp.emit.dataMember(DataType = typeof(byte))]
        public type Type;
    }
}
